package com.nuanshui.heatedloan.userinfo.model;

import java.io.Serializable;

/**
 * Created by joner.jiang on 2015/2/2.
 */
public class SimpleUserInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private String avatarUrl;// 用户头像地址
	private String nick;// 用户的昵称
	private Boolean interested;// 是否关注了
	private String location;// 位置
	private boolean verified;
	private boolean valid = false;
	private double score;// 现有积分
	private Long fansCount;// 粉丝数
	private Integer level;// 等级
	private long auth;// 权限
	private String avatar;//用户头像图片名
	private String phone;//手机号

	private Integer verifiedType;// 认证类型 使用VerifiedType常量
	private Boolean vip;// 是否是会员

	
	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	

	public Integer getVerifiedType() {
		if (verifiedType == null)
			return 0;
		return verifiedType;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setVerifiedType(Integer verifiedType) {
		this.verifiedType = verifiedType;
	}

	public long getAuth() {
		return auth;
	}

	public void setAuth(long auth) {
		this.auth = auth;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Long getFansCount() {
		return fansCount;
	}

	public void setFansCount(Long fansCount) {
		this.fansCount = fansCount;
	}

	private Long praiseCount;// 点赞数

	public Long getPraiseCount() {
		return praiseCount;
	}

	public void setPraiseCount(Long praiseCount) {
		this.praiseCount = praiseCount;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

	public boolean isValid() {
		return valid;
	}

	public void setValid(boolean valid) {
		this.valid = valid;
	}

	public boolean isVerified() {
		return verified;
	}

	public void setVerified(boolean verified) {
		this.verified = verified;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public Boolean getInterested() {
		return interested;
	}

	public void setInterested(Boolean interested) {
		this.interested = interested;
	}
}
